﻿<UserControl x:Class="Prototypes.StatisticalReportsContent"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:Toolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
             
             mc:Ignorable="d" 
             d:DesignHeight="865" d:DesignWidth="900">
    <Grid Width="900" Height="865">
        <Label FontSize="16" FontWeight="ExtraLight" Content="Casos Remitidos" Height="28" HorizontalAlignment="Left" Margin="32,12,0,0" Name="label1" VerticalAlignment="Top" />
        <DatePicker Height="29" HorizontalAlignment="Left" Margin="87,46,0,0" Name="datePicker1" VerticalAlignment="Top" Width="115" />
        <DatePicker Height="29" HorizontalAlignment="Left" Margin="273,46,0,0" Name="datePicker2" VerticalAlignment="Top" Width="115" />
        <Label Content="Desde:" Height="28" HorizontalAlignment="Left" Margin="45,52,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="Hasta:" Height="28" HorizontalAlignment="Left" Margin="235,52,0,0" Name="label3" VerticalAlignment="Top" />
        <Toolkit:Chart Name="mcChart" Background="#BABABA"
                       FontFamily="Segoe UI" FontWeight="ExtraLight" Foreground="Black" Title="Casos Remitidos" Margin="45,86,291,0" Height="297" VerticalAlignment="Top">
            <Toolkit:Chart.Series>
                <Toolkit:BarSeries Title="Numero de casos" IndependentValueBinding="{Binding Path=Key}"
            DependentValueBinding="{Binding Path=Value}">
                </Toolkit:BarSeries>
            </Toolkit:Chart.Series>

        </Toolkit:Chart>
        <Label Content="Tipos de Hecho" FontSize="16" FontWeight="ExtraLight" Height="28" HorizontalAlignment="Left" Margin="32,451,0,0" Name="label4" VerticalAlignment="Top" />
        <DatePicker Height="29" HorizontalAlignment="Left" Margin="87,485,0,0" Name="datePicker3" VerticalAlignment="Top" Width="115" />
        <DatePicker Height="29" HorizontalAlignment="Left" Margin="273,485,0,0" Name="datePicker4" VerticalAlignment="Top" Width="115" />
        <Label Content="Desde:" Height="28" HorizontalAlignment="Left" Margin="45,491,0,0" Name="label5" VerticalAlignment="Top" />
        <Label Content="Hasta:" Height="28" HorizontalAlignment="Left" Margin="235,491,0,0" Name="label6" VerticalAlignment="Top" />
        <Toolkit:Chart Background="#BABABA" FontFamily="Segoe UI" FontWeight="ExtraLight" Foreground="Black" Height="297" Margin="45,525,291,0" Name="FactTypesChart" Title="Tipos de Hecho" VerticalAlignment="Top">
            <Toolkit:PieSeries DependentValueBinding="{Binding Path=Value}" IndependentValueBinding="{Binding Path=Key}" Title="Numero de casos" />
        </Toolkit:Chart>
    </Grid>
</UserControl>
